<template>
    <div>
        <el-tag v-if="$attrs.row.status == 0" type="info">待机</el-tag>
        <el-tag v-else-if="$attrs.row.status == 1" type="success">工作中</el-tag>
        <el-tag v-else type="warning">已停用</el-tag>
    </div>
</template>

<script>
export default {
    name: 'status',
}
</script>
